solve quadratic equations using the quadratic formula